package cn.wolfcode.crm.mapper;

import java.util.List;

import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.query.QueryObject;

public interface RoleMapper {
	void insert(Role entity);
	void update(Role entity);
	void delete(Long id);
	Role selectById(Long id);
	List<Role> selectAll(QueryObject qo);
	
	
	Role selecPermissionsByRoleId(Long id);
}
